<?php

//Route::group(['namespace'=>'App\Http\Controllers\Api\Task','prefix'=>'api','middleware'=>'WebAuth'],function(){

Route::group(['namespace'=>'App\Http\Controllers\Api\Device','prefix'=>'api','middleware'=>'WebAuth'],function(){
    //我的设备列表
    Route::any('device/get_list', 'DeviceController@deviceIndex');
    //绑定设备
    Route::any('device/user_bundled', 'DeviceController@userBundled');
});

Route::group(['namespace'=>'App\Http\Controllers\Api\Device','prefix'=>'api'],function(){
    //设备数据接入
    Route::any('device/sino_data', 'ThirdDeviceController@sinoData');
});
